﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterAchievementsSchema

    Public Class achievement

        Private intCategoryID As Integer
        Private strDateCompleted As String
        Private strDesc As String
        Private strIcon As String
        Private intID As Integer
        Private intPoints As Integer
        Private strReward As String
        Private strTitle As String

        <XmlAttribute()> Public Property categoryId() As Integer
            Get
                Return intCategoryID
            End Get
            Set(ByVal value As Integer)
                intCategoryID = value
            End Set
        End Property

        <XmlAttribute()> Public Property dateCompleted() As String
            Get
                Return strDateCompleted
            End Get
            Set(ByVal value As String)
                strDateCompleted = value
            End Set
        End Property

        <XmlAttribute()> Public Property desc() As String
            Get
                Return strDesc
            End Get
            Set(ByVal value As String)
                strDesc = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property points() As Integer
            Get
                Return intPoints
            End Get
            Set(ByVal value As Integer)
                intPoints = value
            End Set
        End Property

        <XmlAttribute()> Public Property reward() As String
            Get
                Return strReward
            End Get
            Set(ByVal value As String)
                strReward = value
            End Set
        End Property

        <XmlAttribute()> Public Property title() As String
            Get
                Return strTitle
            End Get
            Set(ByVal value As String)
                strTitle = value
            End Set
        End Property

    End Class

End Namespace